package form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class userForm extends ActionForm{
	
	private String userName;
	private String userPrenom;
	private String userTel;
	private String userSex;
	private String userEmail;
	private String userPoste;
	private String userLocation;
	private String userMdp;
	private String userConfirm;
	private boolean userTeamLeader;
	
	public userForm()
	{
		super();
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request)
	{
		this.userName=null;
		this.userPrenom=null;
	}
	
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
	{
		ActionErrors errors = new ActionErrors();
		return errors;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPrenom() {
		return userPrenom;
	}

	public void setUserPrenom(String userPrenom) {
		this.userPrenom = userPrenom;
	}

	public String getUserTel() {
		return userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserPoste() {
		return userPoste;
	}

	public void setUserPoste(String userPoste) {
		this.userPoste = userPoste;
	}

	public String getUserLocation() {
		return userLocation;
	}

	public void setUserLocation(String userLocation) {
		this.userLocation = userLocation;
	}

	public boolean isUserTeamLeader() {
		return userTeamLeader;
	}

	public void setUserTeamLeader(boolean userTeamLeader) {
		this.userTeamLeader = userTeamLeader;
	}

	public String getUserMdp() {
		return userMdp;
	}

	public String getUserConfirm() {
		return userConfirm;
	}

}
